import { CoolController, BaseController } from '@cool-midway/core';
import { CmsCategoryEntity } from '../../entity/category';
import { CmsCategoryService } from '../../service/category';

/**
 * 描述
 */
@CoolController({
  api: ['add', 'delete', 'update', 'info', 'list', 'page'],
  entity: CmsCategoryEntity,
  service: CmsCategoryService,
  pageQueryOp: {
    keyWordLikeFields: ['categoryname'],
  },
})
export class CmsAdminCategoryController extends BaseController {}